package com.dcxs.shop.module.order.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDate;
import java.time.LocalDateTime;

/**
 * <p>
 *
 * </p>
 *
 * @author zzh
 * @since 2020-03-01
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class JsCard implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId
    private Integer  id;

    /**
     * 批次号
     */
    private String batchNo;

    /**
     * 卡号
     */
    private String cardNo;

    /**
     * 卡号的密码
     */
    private String cardPass;

    /**
     * 卡面金额
     */
    private BigDecimal fee;

    /**
     * 0：未使用 1：已使用 2：作废
     */
    private Integer state;

    /**
     * 被激活时，激活人的id
     */
    private Integer usrId;

    private String nickname;

    private Integer sex;

    private String phone;

    private LocalDate activeDate;

    private LocalDateTime activeTime;


}
